package com.test.prolenders.analytics_prolenders.data_sdk_prolenders.http_prolenders;

import java.util.function.Supplier;

public class ASPostAsyncTsk_prolenders implements Supplier<ASResp_prolenders> {

    private final String taskId;
    private final String url;
    private final String body;

    public ASPostAsyncTsk_prolenders(String taskId, String url, String body) {
        this.taskId = taskId;
        this.url = url;
        this.body = body;
    }

    @Override
    public ASResp_prolenders get() {
        ASPostSyncTsk_prolenders postSyncTask = new ASPostSyncTsk_prolenders(this.taskId, this.url, this.body);
        return postSyncTask.getASResp();
    }
}
